package ru.alperez.blurringtest.util;

import java.util.Random;

public class AppUtils {
	private static Random mRandGen = new Random();
	
	public static int getRandomIntInInterval(int min, int max) {
		if (min >= max) {
			throw new IllegalArgumentException("max argument must be higher than min argument");
		}
		return mRandGen.nextInt(max - min + 1) + min;
	}
}
